package com.boot.service;


import com.boot.pojo.CompensateRecords;

import java.math.BigDecimal;

/**
* @author liyan
* @description 针对表【compensaterecords】的数据库操作Service
* @createDate 2025-05-08 10:19:33
*/
public interface CompensateRecordsService {
    void recordCompensation(Long userId, BigDecimal amount, String type);

    void removeCompensation(Long userId, BigDecimal amount, String type);

    CompensateRecords getCompensateRecordsForUpdate(Long id);

    Boolean updateCompensateRecords(CompensateRecords compensateRecords);

}
